home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ABERMUD.ZIP
/
MAKEWORL.C
< prev
next >
Wrap
C/C++ Source or Header
|
1989-07-08
|
405b
|
26 lines
#include <stdio.h>
/*
World Creator
*/
void main()
{
FILE *a;
long x[64];
long b;
a=fopen("/usr/tmp/-[iy7]|AM","w");
x[0]=1;
x[1]=1;
sec_write(a,x,0,64);
b=0;
while(b<600)
{
sec_write(a,x,b,64);
x[0]=0;
b++;
}
fclose(a);
}